import request from '@/utils/request'

// 分类页面
export const getCategories = () => {
  return request({
    method: 'get',
    url: '/categories'
  })
}

// 搜索
export const getGoodsinfo = ({ value }) => {
  return request({
    method: 'get',
    url: `/goodsinfo?q=${value}`
  })
}

// 拿到详情分类

export const getorderlist = () => {
  return request({
    method: 'get',
    url: '/maplist'
  })
}
